package com.motong.gongdan.vo.system.device.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.util.Map;

@ApiModel("计数报表")
@Data
@Accessors(chain = true)
public class CountReportVo {

    @ApiModelProperty("设备Id")
    private Long deviceId;

    @ApiModelProperty("日期")
    private String date;

    @ApiModelProperty(value = "小时数", hidden = true)
    private Integer timeOfHour;

    @ApiModelProperty("设备名称")
    private String deviceName;

    @ApiModelProperty("设备序列号")
    private String deviceSn;

    @ApiModelProperty("总数量")
    private Long totalNum;

    @ApiModelProperty("每小时产量")
    private BigDecimal UPH;

    @ApiModelProperty("小时计数(k为时,v为数量)")
    private Map<Integer, Long> timeCountMap;
}
